/*---------------------------------------------------------------------------
	ZaRan	-	A Totallly Automatic CFD Software
	Copyright (C) ,Since 2020
-------------------------------------------------------------------------------
License
	This file is part of ZaRan.

!	@file	timmer.cpp
!	@brief	record time cost
!	@author	Chen Jie.
\*---------------------------------------------------------------------------*/
#include"../include/Timer.h"

float Timer::Duration()
{
	end = std::chrono::high_resolution_clock::now();
	duration = end - start;
	float s = duration.count();
	return s;
}
